]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
17 years ago[runDialog] Add 'debugexit' command
Colin Walters [Tue, 15 Sep 2009 21:40:26 +0000 (17:40 -0400)]
[runDialog] Add 'debugexit' command

There are few uses for being able to exit the shell directly; my
current one is that the gtype debug infrastructure is implemented
as an atexit() handler.

17 years agoUpdated Galician Translation
Fran Diéguez [Tue, 15 Sep 2009 21:06:46 +0000 (23:06 +0200)]
Updated Galician Translation

17 years agoEnable Alt-f2 in overview
Colin Walters [Mon, 14 Sep 2009 19:08:20 +0000 (15:08 -0400)]
Enable Alt-f2 in overview

This isn't a long-term solution; what we really want is for Alt-F2 to
just be an application search with a hack to detect shell commands,
but in the short term this allows us to run the magic 'lg' command
from the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=595116

17 years agoChange keyboard handling API to handle nested modal calls
Colin Walters [Tue, 15 Sep 2009 19:53:07 +0000 (15:53 -0400)]
Change keyboard handling API to handle nested modal calls

Rename beginModal/endModal to pushModal/popModal.  All of the current callers
just want to ensure that we're in a modal state; they don't actually need to
fail if we already are.

These functions also now take the Clutter keyboard focus, while recording
the previous focus.

https://bugzilla.gnome.org/show_bug.cgi?id=595116

17 years agoOnly enable internal commands if developer_tools is true
Colin Walters [Mon, 14 Sep 2009 17:45:49 +0000 (13:45 -0400)]
Only enable internal commands if developer_tools is true

'r' is a bit too accidentally-hittable for outside of developer usage.
However it will still be enabled when developer_tools is true.

https://bugzilla.gnome.org/show_bug.cgi?id=595116

17 years agoAdd a developer_tools boolean defaulting to true
Colin Walters [Mon, 14 Sep 2009 17:30:19 +0000 (13:30 -0400)]
Add a developer_tools boolean defaulting to true

This will be use to enable various internal tools which should only
be exposed to developers/testers.

https://bugzilla.gnome.org/show_bug.cgi?id=595116

17 years agoConvert remaining uses of "let me = this;" to Lang.bind
Dan Winship [Tue, 15 Sep 2009 17:09:51 +0000 (13:09 -0400)]
Convert remaining uses of "let me = this;" to Lang.bind

https://bugzilla.gnome.org/show_bug.cgi?id=595293

17 years agoWhen in window filtering mode, reset filter before showing window
Colin Walters [Fri, 11 Sep 2009 16:39:59 +0000 (12:39 -0400)]
When in window filtering mode, reset filter before showing window

When we had a filtered set of windows, and want to exit the overview
into a particular window, what we do is re-show all the old windows
first, but don't reset the scaling on them.  This will involve
some overlapping, but that's not a big deal because we'll immediately
get overlap anyways in the normal case zooming the windows back.

https://bugzilla.gnome.org/show_bug.cgi?id=594699

17 years agoDon't proxy methods through overview; add a getWorkspacesForWindow()
Colin Walters [Fri, 11 Sep 2009 16:47:53 +0000 (12:47 -0400)]
Don't proxy methods through overview; add a getWorkspacesForWindow()

Duplicating the methods was unnecessary.  Also, we want a getWorkspacesForWindow()
method as preparation for multi-monitor work.

https://bugzilla.gnome.org/show_bug.cgi?id=594699

17 years agoAllow popup menu to be persistent, and support direct window selection
Colin Walters [Thu, 10 Sep 2009 01:14:31 +0000 (21:14 -0400)]
Allow popup menu to be persistent, and support direct window selection

When the user click+hold+release over the icon, the effect we want
is for the menu to stick around.

Also, allow the user to mouse over the actual windows and select
them directly.  If the user mouses over a window, reflect that in
the menu.

https://bugzilla.gnome.org/show_bug.cgi?id=594699

17 years agoMake popdown,popup methods idempotent; remove 'popdown' for 'cancelled'
Colin Walters [Fri, 11 Sep 2009 21:16:49 +0000 (17:16 -0400)]
Make popdown,popup methods idempotent; remove 'popdown' for 'cancelled'

Callers will generally expect _popup and _popdown to be a no-op if
the menu is already in that state; make it so.

Also change the 'popdown' signal to be 'cancelled'; this is
clearer and allows us to avoid having activate also call popdown.

https://bugzilla.gnome.org/show_bug.cgi?id=594699

17 years ago[Overview] Make content area eat mouse events during animations
Colin Walters [Sun, 13 Sep 2009 18:54:56 +0000 (14:54 -0400)]
[Overview] Make content area eat mouse events during animations

There are ton of different kinds of mouse even handlers in the overview;
WindowClone has several mouse-enter/leave handlers, we still have a variety
of classes not ported to ButtonBox and so incorrectly handling double-click,
etc.

Since we at present don't have anything in the overview area for which
it makes sense to interact with during the animation, create a transparent
event-eating box which we raise to the top during the animation.

https://bugzilla.gnome.org/show_bug.cgi?id=594074

17 years agoAdded British English translation
Philip Withnall [Sun, 13 Sep 2009 15:24:19 +0000 (16:24 +0100)]
Added British English translation

17 years agoUpdated Spanish translation
Jorge González [Sat, 12 Sep 2009 12:41:15 +0000 (14:41 +0200)]
Updated Spanish translation

17 years agoDon't show section headers for sections with no results and don't show page
Marina Zhurakhinskaya [Fri, 11 Sep 2009 22:59:31 +0000 (18:59 -0400)]
Don't show section headers for sections with no results and don't show page
controls if there is only one page of results

This makes the search results display more streamlined.

Make sure that we move the selection to a different section if we are going
from displaying a single section to displaying all and the section that
used to be displayed alone doesn't have any results.

17 years agoRevert "[AppWell] Allow popup menu to be persistent, and support direct window selection"
Colin Walters [Fri, 11 Sep 2009 22:58:30 +0000 (18:58 -0400)]
Revert "[AppWell] Allow popup menu to be persistent, and support direct window selection"

This reverts commit 6e31e59b57ad60186b41944b175907ec7d90647c.

17 years ago[ShellAppMonitor] Handle Iceweasel tripping Firefox window title detection
Colin Walters [Fri, 11 Sep 2009 22:49:08 +0000 (18:49 -0400)]
[ShellAppMonitor] Handle Iceweasel tripping Firefox window title detection

We have compatibility code which detects from the window title what
an application is.  However, the code didn't handle the case where
we discovered by title, but didn't have the expected .desktop file
installed.

17 years ago[AppWell] Allow popup menu to be persistent, and support direct window selection
Colin Walters [Thu, 10 Sep 2009 01:14:31 +0000 (21:14 -0400)]
[AppWell] Allow popup menu to be persistent, and support direct window selection

When the user click+hold+release over the icon, the effect we want
is for the menu to stick around.

Also, allow the user to mouse over the actual windows and select
them directly.  If the user mouses over a window, reflect that in
the menu.

17 years agoAdd a separate section of search results that shows system preferences
Marina Zhurakhinskaya [Fri, 11 Sep 2009 21:48:02 +0000 (17:48 -0400)]
Add a separate section of search results that shows system preferences

System preferences should not be mixed in with applications in search results.

17 years agoMore global-ization
Dan Winship [Fri, 11 Sep 2009 21:23:23 +0000 (17:23 -0400)]
More global-ization

17 years agoRestructure the search results code to be able to support any number of sections
Marina Zhurakhinskaya [Fri, 11 Sep 2009 20:42:54 +0000 (16:42 -0400)]
Restructure the search results code to be able to support any number of sections

We will be adding more search results sections, so we should store the intended
order of the search results sections and their properties in an array of data
structures.

This information allows us to have generic code for creating the search results
sections, moving the selection between them and transitioning between showing
all sections and a single section.

17 years agoUpdated French translation
Claude Paroz [Fri, 11 Sep 2009 19:41:27 +0000 (21:41 +0200)]
Updated French translation

17 years agoActually update well menu filtering for review messages
Colin Walters [Wed, 9 Sep 2009 21:28:52 +0000 (17:28 -0400)]
Actually update well menu filtering for review messages

My updates got lost due to accidentally being on a rebase branch.

17 years ago[AppDisplay] In search/browse, show existing window instead of always launching
Colin Walters [Wed, 9 Sep 2009 20:43:29 +0000 (16:43 -0400)]
[AppDisplay] In search/browse, show existing window instead of always launching

This brings search in line with the AppWell behavior which is definitely
right.  For browse we probably want more options.

17 years ago[AppWell] Fix previous commit
Colin Walters [Wed, 9 Sep 2009 20:42:43 +0000 (16:42 -0400)]
[AppWell] Fix previous commit

Somehow missed changing a call when updating for review comments.

17 years agoMore gracefully handle a situation where starting shell failed
Colin Walters [Wed, 9 Sep 2009 19:49:31 +0000 (15:49 -0400)]
More gracefully handle a situation where starting shell failed

If start_shell() threw an exception before, we'd overwrite it with
an exception in the finally() clause.  Handle this and just print a message
and let the exception propagate.

17 years ago[AppWell] Enable lightboxing immediately on popup
Colin Walters [Tue, 8 Sep 2009 22:34:04 +0000 (18:34 -0400)]
[AppWell] Enable lightboxing immediately on popup

Rather than starting lightboxing only when the mouse enters the
menu, start it when an application filter is set.

Also delete a stale function in WindowClone from previous work.

http://bugzilla.gnome.org/show_bug.cgi?id=594555

17 years agoExtend (+) button sensitivity to corner of screen, for Fittsability
Dan Winship [Wed, 9 Sep 2009 13:45:13 +0000 (09:45 -0400)]
Extend (+) button sensitivity to corner of screen, for Fittsability

https://bugzilla.gnome.org/show_bug.cgi?id=591984

17 years agoRemove some "let global ..."s that snuck back in as part of old patches
Dan Winship [Wed, 9 Sep 2009 13:41:26 +0000 (09:41 -0400)]
Remove some "let global ..."s that snuck back in as part of old patches

17 years agoMove the add workspace button out of the Workspaces object, into Overview
Dan Winship [Tue, 1 Sep 2009 15:56:41 +0000 (11:56 -0400)]
Move the add workspace button out of the Workspaces object, into Overview

http://bugzilla.gnome.org/show_bug.cgi?id=594049

17 years agoUpdated Polish translation
Tomasz Dominikowski [Wed, 9 Sep 2009 01:06:16 +0000 (03:06 +0200)]
Updated Polish translation

17 years agoUpdated Polish translation
Piotr Drąg [Wed, 9 Sep 2009 00:57:37 +0000 (02:57 +0200)]
Updated Polish translation

17 years ago[AppWell] Make control-click create a new window
Colin Walters [Tue, 8 Sep 2009 21:29:22 +0000 (17:29 -0400)]
[AppWell] Make control-click create a new window

Implement this for now by just re-launching the application, which
visually will normally create a new window.

http://bugzilla.gnome.org/show_bug.cgi?id=594565

17 years ago[AppWell] Position menu components on integral coordinates
Colin Walters [Tue, 8 Sep 2009 21:53:45 +0000 (17:53 -0400)]
[AppWell] Position menu components on integral coordinates

This avoids fuzz.

http://bugzilla.gnome.org/show_bug.cgi?id=594553

17 years agoUse clutter_event_get_* instead of ShellGlobal
Colin Walters [Tue, 8 Sep 2009 20:58:57 +0000 (16:58 -0400)]
Use clutter_event_get_* instead of ShellGlobal

Before Clutter gained accessors for event information, we had
shell_global_ functions.  Now that Clutter has them, use them and
delete the ShellGlobal code.

http://bugzilla.gnome.org/show_bug.cgi?id=594561

17 years ago[ShellButtonBox] Add event to activate signal
Colin Walters [Tue, 8 Sep 2009 20:58:17 +0000 (16:58 -0400)]
[ShellButtonBox] Add event to activate signal

This allows access to things such as keyboard modifier state and
event time cleanly.

http://bugzilla.gnome.org/show_bug.cgi?id=594565

17 years ago[AppWell] Unify drag and drop behavior between Running versus Inactive
Colin Walters [Tue, 8 Sep 2009 19:53:49 +0000 (15:53 -0400)]
[AppWell] Unify drag and drop behavior between Running versus Inactive

This fixes a regression where drag and drop didn't work for inactive
items correctly.

http://bugzilla.gnome.org/show_bug.cgi?id=594542

17 years agoScroll wheel should zoom windows in the overview
Dan Winship [Fri, 4 Sep 2009 19:25:17 +0000 (15:25 -0400)]
Scroll wheel should zoom windows in the overview

Allow using the scroll wheel to zoom in on windows in the overview.

Original patch from JP St. Pierre.
http://bugzilla.gnome.org/show_bug.cgi?id=591849

17 years agoMake "global" global.
Dan Winship [Tue, 8 Sep 2009 20:12:50 +0000 (16:12 -0400)]
Make "global" global.

Rather than doing "let global = Shell.Global.get()" everywhere we
need it, just create a global variable called "global".

http://bugzilla.gnome.org/show_bug.cgi?id=594546

17 years agoAdd error handling to the runDialog
Adel Gadllah [Tue, 8 Sep 2009 18:04:18 +0000 (20:04 +0200)]
Add error handling to the runDialog

Show the errors to the user instead of silently logging them to the terminal,
also rework positioning to get rid of magic numbers.

Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
http://bugzilla.gnome.org/show_bug.cgi?id=593840

17 years agoBug 591763 - Add application window menu
Colin Walters [Tue, 1 Sep 2009 18:15:29 +0000 (14:15 -0400)]
Bug 591763 - Add application window menu

When we have multiple windows for an application, implement the following
behavior:

* On click + immediate release, go to the most recently used
* On click, hold for 0.6s, pop up a menu with windows, filtering
  the window list to just those windows.
  Mouse over on the window list highlights the moused-over window.

Implement this by splitting well item into InactiveWellItem
and RunningWellItem, sharing a base class BaseWellItem.

17 years agoAdd ShellMenu
Colin Walters [Fri, 4 Sep 2009 01:05:16 +0000 (21:05 -0400)]
Add ShellMenu

An object with methods and signals useful for implementing popup menus.

17 years agoDistribute app-well-glow.png
Sander Dijkhuis [Mon, 7 Sep 2009 14:18:50 +0000 (16:18 +0200)]
Distribute app-well-glow.png

Add app-well-glow.png to data/Makefile.am

17 years agoConvert on_tree_changed to a gboolean returning false.
Jon Nettleton [Mon, 7 Sep 2009 15:06:50 +0000 (08:06 -0700)]
Convert on_tree_changed to a gboolean returning false.

This fixes commit 0a29cf61955935ca1e7d3a48ccd38164ec9c80af and
g_timer_add_full running in an endless loop.

http://bugzilla.gnome.org/show_bug.cgi?id=592608

17 years agoUpdated Italian translation
Milo Casagrande [Sun, 6 Sep 2009 16:32:44 +0000 (18:32 +0200)]
Updated Italian translation

17 years agoBump version to 2.27.2
Owen W. Taylor [Sat, 5 Sep 2009 00:14:57 +0000 (20:14 -0400)]
Bump version to 2.27.2

17 years agoBump gobject-introspectio nrequirement to 0.6.5
Owen W. Taylor [Sat, 5 Sep 2009 00:13:04 +0000 (20:13 -0400)]
Bump gobject-introspectio nrequirement to 0.6.5

gobject-introspection 0.6.5 is needed for Gio.VolumeMonitor usage.

17 years agoBug 594184 - Fix up glow positioning logic
Colin Walters [Fri, 4 Sep 2009 23:58:37 +0000 (19:58 -0400)]
Bug 594184 - Fix up glow positioning logic

We were allowing the glow allocation to go too far to the right;
clean up the logic.

17 years agoCompress notifications of menu changes with a timeout.
Jon Nettleton [Wed, 2 Sep 2009 21:35:09 +0000 (14:35 -0700)]
Compress notifications of menu changes with a timeout.

GMenu currently gives us a separate notification on the entire
menu tree for each node in the tree that might potentially have
changed. (See http://bugzilla.gnome.org/show_bug.cgi?id=172046.)
Compress these with a timeout to avoid doing a lot of extra work.

http://bugzilla.gnome.org/show_bug.cgi?id=592608

17 years agoMake checking if an item is under the pointer asynchonous again
Owen W. Taylor [Fri, 4 Sep 2009 21:51:43 +0000 (17:51 -0400)]
Make checking if an item is under the pointer asynchonous again

Checking if an item is under the pointer by calling stage.get_actor_at_pos()
synchronously will trigger a too-early allocation of the stage. Use an idle
at Meta.PRIORITY_BEFORE_REDRAW. (Before 553503d it was using a 5 msec timeout,
553503d made it synchronous.)

http://bugzilla.gnome.org/show_bug.cgi?id=592608

17 years agoRedo AppWell glow to be based on a based on a .png instead of cairo
Colin Walters [Thu, 3 Sep 2009 14:45:01 +0000 (10:45 -0400)]
Redo AppWell glow to be based on a based on a .png instead of cairo

Instead of drawing an ellipse, use a hand-drawn .png file which
looks a bit less regular and blends better.

17 years agoAdd README and DOAP file
Owen W. Taylor [Fri, 4 Sep 2009 19:20:27 +0000 (15:20 -0400)]
Add README and DOAP file

README: Add a short README with basic information.

gnome-shell.doap: Add project information in DOAP format expected
  for GNOME projects.

http://bugzilla.gnome.org/show_bug.cgi?id=591564

17 years agoUpdated Danish translation
Kris Thomsen [Thu, 3 Sep 2009 23:26:01 +0000 (01:26 +0200)]
Updated Danish translation

17 years agoRemove some vestigial code
Dan Winship [Thu, 3 Sep 2009 13:50:17 +0000 (09:50 -0400)]
Remove some vestigial code

17 years agoAdd volumes support to places
Adel Gadllah [Wed, 2 Sep 2009 18:41:32 +0000 (20:41 +0200)]
Add volumes support to places

Display the mounted volumes in the places section of the overlay.

Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
Signed-off-by: Colin Walters <walters@verbum.org>
17 years agoAdd shell_button_box_fake_release
Colin Walters [Tue, 1 Sep 2009 18:14:19 +0000 (14:14 -0400)]
Add shell_button_box_fake_release

The application menu code wants to do a popup after a given timeout
while holding.  We can implement that by adding a function to
manually break the grab held by the button box.

Freeze+thaw around the hover and pressed property notification on leave
since handlers may want to depend on the pressed state on a hover
transition.

17 years agoAdd shell_texture_cache_pixbufs_equal
Colin Walters [Tue, 1 Sep 2009 18:13:15 +0000 (14:13 -0400)]
Add shell_texture_cache_pixbufs_equal

Mutter is currently creating separate pixbufs for window icons;
use this to analyze them.

17 years agoAdd API to programmatically initiate a drag
Colin Walters [Tue, 1 Sep 2009 18:07:31 +0000 (14:07 -0400)]
Add API to programmatically initiate a drag

For some use cases we have other behavior on mouse press and want
to manually control when a drag starts.  Split out the drag initiation
code into startDrag.

17 years agoAdd Tweener.slowDownFactor, initialize from $GNOME_SHELL_SLOWDOWN_FACTOR
Dan Winship [Tue, 1 Sep 2009 17:27:31 +0000 (13:27 -0400)]
Add Tweener.slowDownFactor, initialize from $GNOME_SHELL_SLOWDOWN_FACTOR

This allows for easier debugging of glitchy animations

17 years agoAdded Punjabi (Gurmukhi)Translation
A S Alam [Tue, 1 Sep 2009 23:58:51 +0000 (05:28 +0530)]
Added Punjabi (Gurmukhi)Translation

17 years agoMerge headers when a single section of search results is displayed
Marina Zhurakhinskaya [Tue, 1 Sep 2009 23:06:20 +0000 (19:06 -0400)]
Merge headers when a single section of search results is displayed

There is no need to show two headers when we are only displaying a single
section of search results, so we merge the section header with the main
header in that case.

Show a back button on the left of the main header to get back to the results
for all sections.

Remove this._showTooltip flag from SearchSectionHeader because we no longer
show this type of header when we want to suppress the tooltip.

Add this._appSearchResultsOnlyShown and this._docSearchResultsOnlyShown
flags to track when a single section is shown more cleanly.

17 years agoRemove the timeout for checking if an item is drawn under the pointer
Marina Zhurakhinskaya [Tue, 1 Sep 2009 20:29:14 +0000 (16:29 -0400)]
Remove the timeout for checking if an item is drawn under the pointer

We no longer need the timeout for checking if an item is drawn under
the pointer because we display search results in the main pane and there is
no lowering/raising of other overview actors going on as the results are
being displayed.

17 years agoImprove key navigation for search results
Marina Zhurakhinskaya [Tue, 1 Sep 2009 20:24:47 +0000 (16:24 -0400)]
Improve key navigation for search results

Select an item by default when the search results are displayed.

Enable moving from one section of search results to another with key navigation.

Reset the selection when the search is updated or a new page is displayed
or the transition between viewing multiple sections and viewing just one is made.

17 years agoUpdate build-setup.sh for gconf, gio python usage
Owen W. Taylor [Tue, 1 Sep 2009 12:59:27 +0000 (08:59 -0400)]
Update build-setup.sh for gconf, gio python usage

Add pygobject and gnome-python-gconf dependencies to
gnome-shell-build-setup.sh package lists for Fedora and Ubuntu/Debian.

http://bugzilla.gnome.org/show_bug.cgi?id=593458

17 years agoUpdated Swedish translation
Daniel Nylander [Mon, 31 Aug 2009 22:31:48 +0000 (00:31 +0200)]
Updated Swedish translation

17 years agoDo not display windows with skip-taskbar hint in overview.
Steve Frécinaux [Fri, 28 Aug 2009 16:38:48 +0000 (18:38 +0200)]
Do not display windows with skip-taskbar hint in overview.

This fixes the bug where the empathy buddy list is always visible on the
last workspace it was shown on, even if it was closed.

17 years agoConsolidate window tracking filters between app monitor and overview.
Steve Frécinaux [Fri, 28 Aug 2009 16:36:23 +0000 (18:36 +0200)]
Consolidate window tracking filters between app monitor and overview.

The windows we considered for both the app monitor and the overview
workspaces were the same, but the code was duplicated once in C, once
in Javascript.

17 years agoUse AM_PATH_PYTHON to find Python >= 2.5
Owen W. Taylor [Mon, 31 Aug 2009 15:52:18 +0000 (11:52 -0400)]
Use AM_PATH_PYTHON to find Python >= 2.5

On OpenSolaris /usr/bin/python is 2.4; use AM_PATH_PYTHON to find
a newer Python. (The PYTHON environment variable can also be set
before running configure to override the search.)

http://bugzilla.gnome.org/show_bug.cgi?id=578196

17 years agoBuild tweaks
Colin Walters [Sun, 30 Aug 2009 22:01:46 +0000 (18:01 -0400)]
Build tweaks

Add .AUTOPARALELL which is my GNU-make fix for projects to specify
that the build is parallel-safe, and to automatically parallelize.

Add a missing dependency on built sources, and specify --libtool
to be safe.

17 years agoUpdate Catalan translation
Siegfried-Angel Gevatter Pujals [Sun, 30 Aug 2009 17:26:39 +0000 (19:26 +0200)]
Update Catalan translation

17 years agoUpdated Czech translation
Petr Kovar [Sun, 30 Aug 2009 15:37:51 +0000 (17:37 +0200)]
Updated Czech translation

17 years agoUpdated Spanish translation
Jorge González [Sun, 30 Aug 2009 09:17:50 +0000 (11:17 +0200)]
Updated Spanish translation

17 years agoAdd Simplified Chinese translation.
Ray Wang [Sun, 30 Aug 2009 01:15:34 +0000 (09:15 +0800)]
Add Simplified Chinese translation.

17 years agoSimplify Button class by using ShellButtonBox
Owen W. Taylor [Sat, 29 Aug 2009 11:23:28 +0000 (07:23 -0400)]
Simplify Button class by using ShellButtonBox

Make Button class purely about adding visuals, and use ShellButtonBox
for behavior. API equivalences:

  shell.button => shell.actor [for consistency]

  staysPressed parameter to constructor => replaced by manually setting
   the 'active' property of button.actor as appropriate

  pressIn/release => button.actor.active = true/false

  enter-event/leave-event signals => button.actor notify::hover

Along the way, this fixes a bug with the user status menu where it was
not getting set to active because the button was getting a leave
(triggered by the menu popping up and grabbing the pointer) before for
button release, which disabled the staysPressed behavior.

Reported by Michael Meeks
http://bugzilla.gnome.org/show_bug.cgi?id=593471

17 years agoShellButtonBox: only listen to button 1 and single clicks
Owen W. Taylor [Sat, 29 Aug 2009 17:25:32 +0000 (13:25 -0400)]
ShellButtonBox: only listen to button 1 and single clicks

Only mouse button 1 is supposed to activate button controls; other
mouse buttons should do nothing unless there is a context menu.

Checking the click count is important, since double-clicks will
otherwise look like unpaired button presses.

http://bugzilla.gnome.org/show_bug.cgi?id=593504

17 years agoShellButtonBox: Use default handlers, not self-connections
Owen W. Taylor [Sat, 29 Aug 2009 16:31:15 +0000 (12:31 -0400)]
ShellButtonBox: Use default handlers, not self-connections

There's seldom a good justification for connecting to signals on
yourself rather than using the default handler slots in the class.

But in particular using the default handler slots means that
an application can connect to ::button-press-event and get in
before the default handling, to implement a button that does
something on press.

http://bugzilla.gnome.org/show_bug.cgi?id=593503

17 years agoAdd an active property to ShellButtonBox
Owen W. Taylor [Sat, 29 Aug 2009 16:00:20 +0000 (12:00 -0400)]
Add an active property to ShellButtonBox

Add an 'active' property to ShellButtonBox. This allows ShellButtonBox
to be used as a "toggle button". It's up the application to connect
it to the ::activate signal; there's no default handling of this.

(It's seldom that the only time you want to toggle a toggle button
through the user interface, so you need some connection to the backend
data store in any case. Removing the default handling all-together
prevents weird interactions.)

When we have built-in styling for ShellButtonBox the 'active' state
would be one of the elements that would be affect the styling.

http://bugzilla.gnome.org/show_bug.cgi?id=593502

17 years agoBug 592507 - Javascript exception when ~/.gtk-bookmarks is missing
Thomas Wood [Thu, 20 Aug 2009 20:39:04 +0000 (21:39 +0100)]
Bug 592507 -  Javascript exception when ~/.gtk-bookmarks is missing

Check the file exists before trying to access it and simply return if it
is not available.

17 years agoUpdate Dutch translation
Sander Dijkhuis [Sat, 29 Aug 2009 13:11:34 +0000 (15:11 +0200)]
Update Dutch translation

17 years agoAdded Danish translation
Kris Thomsen [Sat, 29 Aug 2009 08:25:03 +0000 (10:25 +0200)]
Added Danish translation

17 years agoAdded Da to list of laguages
Kenneth Nielsen [Sat, 29 Aug 2009 08:23:43 +0000 (10:23 +0200)]
Added Da to list of laguages

17 years agoBump version to 2.27.1
Owen W. Taylor [Sat, 29 Aug 2009 00:10:43 +0000 (20:10 -0400)]
Bump version to 2.27.1

17 years agoImprove the display of search results
Marina Zhurakhinskaya [Fri, 28 Aug 2009 17:37:03 +0000 (13:37 -0400)]
Improve the display of search results

Use bigger font and brighter color for the search results section headers.
Add more padding.

Display "(see all)" tooltip in the section headers on mouse-over.
(Still TODO: supressing that tooltip when all results are already being shown.)

17 years agoSwitch Find entry text size to px
Owen W. Taylor [Fri, 28 Aug 2009 20:21:21 +0000 (16:21 -0400)]
Switch Find entry text size to px

All our font sizes were in px, other than the size for the text in
the search entry. Switch that from 12 to 16px (which is the same size
at the standard 96dpi), it doesn't become out of scale if the DPI
is different. (Using fixed px sizes isn't probably what we want to
do in the long term; moving to style sheets will be a good place to
fix that. But better to be consistent.)

http://bugzilla.gnome.org/show_bug.cgi?id=593212

17 years agoRenable PrintScreen and Super_L in the overview
Owen W. Taylor [Fri, 28 Aug 2009 19:11:25 +0000 (15:11 -0400)]
Renable PrintScreen and Super_L in the overview

When we are modal, examine keypresses and look for:

 - 'Print': Run the screenshot command in any mode; very useful for
   bug filing, reviews, etc.

 - Release of Super_L/Super_R - if in the overview, toggle back
   out of the overview.

http://bugzilla.gnome.org/show_bug.cgi?id=593427

17 years agoImprove comment about button-release-event handler
Owen W. Taylor [Fri, 28 Aug 2009 16:40:56 +0000 (12:40 -0400)]
Improve comment about button-release-event handler

Improve the documentation about the button-release-event handler
we put on the status-menu button at Colin's suggestion.

http://bugzilla.gnome.org/show_bug.cgi?id=593362

17 years agoFix hang when clicking on the user status menu in the overview
Owen W. Taylor [Fri, 28 Aug 2009 15:27:39 +0000 (11:27 -0400)]
Fix hang when clicking on the user status menu in the overview

shell-global.[ch]: Add shell_global_display_is_grabbed() that
  uses the newly added meta_display_get_grab_op() to check
  for existing grabs.
shell-status-menu.[ch]: Add shell_status_menu_is_active() to
  check if the menu is popped up. Check for active grabs before
  popping the menu up. Use gtk_menu_popdown() rather than
  gtk_widget_hide(). Remove an excess gtk_widget_show() and
  some excess casts.
panel.js: Check whether the status menu is popped up after button
  release, and if it's not popped up, unhighlight the button.

Reported by Nuno Donato
http://bugzilla.gnome.org/show_bug.cgi?id=593362

17 years agoRemove pre-GNOME-2.26 panel-replacement code
Owen W. Taylor [Thu, 27 Aug 2009 20:19:35 +0000 (16:19 -0400)]
Remove pre-GNOME-2.26 panel-replacement code

gnome-shell.in: Remove the code to replace gnome-panel by attaching
  to it with GDB; this was always problematical (required gdb, debug
  symbols, finding the pid of gnome-panel, etc.)

gnome-shell-build-setup.sh: Require 2.26 to be in place before building
  the shell; remove gdb from the list of required packages.

http://bugzilla.gnome.org/show_bug.cgi?id=593325

17 years agoClear save_id when removing idle_save_application_usage()
Owen W. Taylor [Tue, 18 Aug 2009 22:02:53 +0000 (18:02 -0400)]
Clear save_id when removing idle_save_application_usage()

When we remove the timeout for saving application usage when application
usage is disabled, set the save_id member variable to 0.

http://bugzilla.gnome.org/show_bug.cgi?id=589676

17 years agoChange search box text to "Find..."
William Jon McCann [Fri, 28 Aug 2009 15:56:40 +0000 (11:56 -0400)]
Change search box text to "Find..."

We want to find more than apps and documents and the previous
string was too long in some languages and on some display sizes.

17 years agoMake the gradient on the top panel the same as the "dash"
William Jon McCann [Fri, 28 Aug 2009 15:47:19 +0000 (11:47 -0400)]
Make the gradient on the top panel the same as the "dash"

The previous top color was a bit too bright.

17 years agoNew class ShellButtonBox
Colin Walters [Thu, 27 Aug 2009 03:17:21 +0000 (23:17 -0400)]
New class ShellButtonBox

This is a Box subclass which adds several signals useful for implementing
"button like" behavior, such as hover and pressed states, as well as
click activation on release.

17 years agoRestore GNOME based on GNOME configuration
Owen W. Taylor [Thu, 27 Aug 2009 18:19:42 +0000 (14:19 -0400)]
Restore GNOME based on GNOME configuration

Instead of using pidof to find what was running when we started,
and then hacking in a restart with hardcoded paths in /usr/bin,
approximate how GNOME starts the panel and window manager.

This fixes restarting Compiz correctly:
 http://bugzilla.gnome.org/show_bug.cgi?id=593184

And restarting gnome-shell correctly:
 http://bugzilla.gnome.org/show_bug.cgi?id=591171

17 years agoRequire an explicit --xephyr option
Owen W. Taylor [Thu, 27 Aug 2009 18:07:46 +0000 (14:07 -0400)]
Require an explicit --xephyr option

Instead of starting Xephyr automatically, require --xephyr to be
passed explicitly.

This makes the operation easier to understand and has the benefit
of allowing running in Xephyr mode when some other window manager
(like gnome-shell!) is running. We also want to emphasize that
Xephyr is a development tool, and not a good preview of the
user-interface.

http://bugzilla.gnome.org/show_bug.cgi?id=592881

17 years agoFix allocation implementations for ShellStack and ShellDrawingArea
Colin Walters [Thu, 27 Aug 2009 03:15:47 +0000 (23:15 -0400)]
Fix allocation implementations for ShellStack and ShellDrawingArea

In both, using our allocation directly for the child is wrong; we
should create a new allocation that's our width and height.

In ShellDrawingArea, also need to chain up to parent.

17 years ago[AppMonitor] Handle window title changes causing mapping changes
Colin Walters [Thu, 27 Aug 2009 06:22:25 +0000 (02:22 -0400)]
[AppMonitor] Handle window title changes causing mapping changes

For Firefox/OpenOffice, right now we have a workaround in the
code where we look at their "title" property.  However, we
weren't monitoring that property for changes, and I'm fairly
certain Firefox at least was mapping a window and then very
quickly changing its title after.  So we need to handle
dynamic changes.

Split out the wm_class mapping from the title hack.  It was
messy and weird to have the two mixed because they're not
at all related, and we're not trying to handle WM_CLASS changes
right now.

Explicitly connect to notify::title in the case where we had
a title fallback.  When a title changes, just treat it as
an add+remove.

In the Application Menu area in the panel, hook up to app-added
and app-removed so we get notification of the active app changing.

17 years agoAlso remove libtidy-1.0.la from Makefile
Colin Walters [Thu, 27 Aug 2009 06:18:55 +0000 (02:18 -0400)]
Also remove libtidy-1.0.la from Makefile

17 years agoDelete Tidy
Colin Walters [Wed, 19 Aug 2009 23:35:02 +0000 (19:35 -0400)]
Delete Tidy

It wasn't used any more.

17 years agoAdd "mozilla" as a vendor prefix
Colin Walters [Fri, 21 Aug 2009 18:48:14 +0000 (14:48 -0400)]
Add "mozilla" as a vendor prefix

Clean up the vendor prefix handling a bit, and add "mozilla" so that
we pick up "mozilla-firefox.desktop" from Firefox's (recent?) change
to have a WM_CLASS of "Firefox".

17 years agoBug 592402 - Better handling of Nautilus window
Colin Walters [Thu, 20 Aug 2009 19:45:12 +0000 (15:45 -0400)]
Bug 592402 - Better handling of Nautilus window

Separate the application monitor logic for "tracking" and "usage tracking".
The first means we associate an application with a window.  The second
means we count focus time inside that window, and consider the window
interesting from a user point of view.

(Really, should probably split ShellAppMonitor into two classes along
 this line, with the second consuming the first).

For the purposes of counting running applications and returning
the list of open windows for an application, skip not-usage-tracked
windows.

Together this allows us to associate the Nautilus desktop window
with the nautilus.desktop, but not show "File Manager" open all
of the time.